package com.code516.web;

import com.code516.entity.CommentEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.Map;


@Controller
@RequestMapping("commentAction")
public class CommentAction {

	
	@RequestMapping("listComments")
	public Map<String, Object> listComments(){
		Map<String, Object> map = new HashMap<String, Object>();
		
		return map;
	}
	
	
	/**
	 * 发表
	 * @return
	 */
	@RequestMapping("saveComment")
	public Map<String, Object> saveComment(CommentEntity commentEntity){
		Map<String, Object> map = new HashMap<String, Object>();
		
		return map;
	}
	
}
